﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FunctionEdit.aspx.cs" Inherits="TrainingsApp.IPADApp.Permission.FunctionEdit" %>

<%@ Register assembly="TrainingsApp.Controls" namespace="TrainingsApp.Controls.TextControlExt" tagprefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../Styles/tables.css" rel="stylesheet" type="text/css" />
    <script src="../Scripts/jquery-1.7.2.min.js" type="text/javascript"></script>
    <script src="../Scripts/Dialog.js" type="text/javascript"></script>
    <script src="../Scripts/validation.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <table class="tablist2" width="100%" cellspacing="1" cellpadding="0">
        <tr>
            <td class="td1">
                功能名称 <font color="red">*</font></td>
            <td class="td2">
                <cc1:TextControlExt ID="FunctionName" runat="server" ValidateRequired="true"></cc1:TextControlExt>
            </td>
            <td class="td1">
                显示顺序 <font color="red">*</font></td>
            <td class="td2">
                <cc1:TextControlExt ID="Sort" runat="server" ValidateRequired="true" 
                    ValidMode="Float"></cc1:TextControlExt>
            </td>
        </tr>
        <tr>
            <td class="td1">
                功能地址</td>
            <td class="td2">
                <cc1:TextControlExt ID="LinkUrl" runat="server" Width="237px"></cc1:TextControlExt>
            </td>
            <td class="td1">
                父节点</td>
            <td class="td2" colspan="3">
                <asp:DropDownList ID="ParentId" runat="server" DataTextField="FUNCTIONNAME"
                    DataValueField="ID">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td class="td1">
                描述</td>
            <td colspan="3" class="td2">
                <cc1:TextControlExt ID="Description" runat="server" TextMode="MultiLine" Height="50px"
                    Width="95%"></cc1:TextControlExt>
            </td>
        </tr>
        <tr>
            <td colspan="4" class="td3">
                <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" class="save"
                    onmouseout="this.className='save'" onmouseover="this.className='save_hover'"
                    OnClientClick="return check('form1')" />
                <asp:Button ID="btnClose" runat="server" Text="关闭" class="close" onmouseout="this.className='close'"
                    onmouseover="this.className='close_hover'" OnClientClick="return closeChildDialog();" />
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
